﻿<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet  [
	<!ENTITY nbsp   "&#160;">
	<!ENTITY copy   "&#169;">
	<!ENTITY reg    "&#174;">
	<!ENTITY trade  "&#8482;">
	<!ENTITY mdash  "&#8212;">
	<!ENTITY ldquo  "&#8220;">
	<!ENTITY rdquo  "&#8221;"> 
	<!ENTITY pound  "&#163;">
	<!ENTITY yen    "&#165;">
	<!ENTITY euro   "&#8364;">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="CityFly">
  <xsl:output method="html" encoding="utf-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
  <msxsl:script language="javascript" implements-prefix="user">function numOptions(fS,fE,fV){
    var str ='';
    for(var i=int(fS);i&lt;=int(fE);i++){
    str=str+"&lt;option"
    if(i==fV){str=str+" selected='1' "}
    var val ='';
    for(var j=i.toString().length;j&lt;fS.toString().length;j++){
    val = '0' + val;
    }
    str=str+" value='"+val+i+"'&gt;"+val+i+"&lt;/option&gt;";
    }
    return str;
    }</msxsl:script>
  <xsl:template match="/">
    <a name="edit" id="edit"/>
    <div class="ColumnLine">
      <div class="ColumnNameLeft bb" style="width:96%;"> &nbsp;<a name="edit"/><b class="CompanyManageTitle">
        <xsl:if test="count(rows/row)=0">
          添加
        </xsl:if>
        <xsl:if test="count(rows/row)>0">
          修改
        </xsl:if>
        企业资料</b> </div>
    </div>
    <form id="form1" name="form1" method="post" action="">
      <div class="ColumnLine">
        <div class="ColumnNameLeft"><u><strong>编码</strong></u>：</div>
        <div class="ColumnContent" style="width:35%;">
          <input name="ID" title="不能修改" readonly="true" type="text" class="disabled" id="ID" style="WIDTH: 200px" value="{rows/row/ID}" size="20" maxlength="60" />
        </div>
        <div class="ColumnNameLeft" style="padding-left:50px;"><u><strong>状态</strong></u>：</div>
        <div class="ColumnContent">
          <select name="F_State" id="F_State">
            <option value="1">
            <xsl:if test="rows/row/F_State=1">
              <xsl:attribute name="selected">1</xsl:attribute>
            </xsl:if>
            启用</option>
            <option value="0">
            <xsl:if test="rows/row/F_State=0">
              <xsl:attribute name="selected">1</xsl:attribute>
            </xsl:if>
            禁用</option>
          </select>
        </div>
      </div>
      <div class="ColumnLine">
        <div class="ColumnNameLeft"><u><strong>单位名称</strong></u>：</div>
        <div class="ColumnContent" style="width:35%;">
          <input name="F_BizName" id="F_BizName" type="text" style="FONT-SIZE: 12px; WIDTH: 250px" >
          <xsl:attribute name="value"><xsl:value-of select="rows/row/F_BizName"/></xsl:attribute>
          </input>
        </div>
        <div class="ColumnNameLeft" style="padding-left:50px;"><u><strong>单位性质</strong></u>：</div>
        <div class="ColumnContent" >
          <select name="F_BizType" id="F_BizType" class="input">
            <city_list cache="0">
              <xsl:attribute name="param"><xsl:value-of select="rows/row/F_BizType"/></xsl:attribute>单位性质选择</city_list>
          </select>
        </div>
      </div>
      <div class="ColumnLine">
        <div class="ColumnNameLeft"><u><strong>经营模式</strong></u>：</div>
        <div class="ColumnContent" style="width:35%;">
          <input name="F_TradeNames" onclick="initSelect(this.id,'div_Catalog_Select')" class="divSelect" style="width:200px" readonly="readonly" type="text" value="{rows/row/F_TradeNames}" id="F_TradeNames"  />
          <div id="div_Catalog_Select" style="display:none;width:300px;" class="divSelect">
            <label>
            <input id="F_TradeType" onclick="return doDivSelect(this.id,'F_TradeNames')" type="checkbox" value="01" name="F_TradeType" title="生产型"/>生产型</label>
            <label>
            <input id="F_TradeType" onclick="return doDivSelect(this.id,'F_TradeNames')" type="checkbox" value="02" name="F_TradeType" title="贸易型"/>贸易型</label>
            <label>
            <input id="F_TradeType" onclick="return doDivSelect(this.id,'F_TradeNames')" type="checkbox" value="03" name="F_TradeType" title="服务型"/>服务型</label>
            <label>
            <input id="F_TradeType" onclick="return doDivSelect(this.id,'F_TradeNames')" type="checkbox" value="04" name="F_TradeType" title="政府或其他机构"/>政府或其他机构</label>
          </div>
        </div>
        <div class="ColumnNameLeft" style="padding-left:50px;"><u><strong>所属分类</strong></u>：</div>
        <div class="ColumnContent">
          <select name="IndustryCode" id="IndustryCode">
            <city_list>
              <xsl:attribute name="param"><xsl:value-of select="rows/row/F_Catalog_ID"/></xsl:attribute>所属分类选择</city_list>
          </select>
        </div>
      </div>
      <div class="ColumnLine">
        <div class="ColumnNameLeft"><u><strong>成立时间</strong></u>：</div>
        <div class="ColumnContent" style="width:35%;">
          <input name="F_BuiltYear" class="w50" id="regCapital2" value="{rows/row/F_BuiltYear}" maxlength="16" />
          <span class="c99">年份,如2004 </span></div>
        <div class="ColumnNameLeft" style="padding-left:50px;"><u><strong>注册资本</strong></u>：</div>
        <div class="ColumnContent">
          <select name="F_RegCapital_y" id="F_RegCapital_y">
            <option value="RMB" selected="selected">人民币</option>
            <option value="HKD">港币</option>
            <option value="EUR">欧元</option>
            <option value="USD">美元</option>
            <option value="JPY">日元</option>
            <option value="SGD">新加坡币</option>
            <option value="GBP">英镑</option>
            <option value="FRF">法国法郎</option>
            <option value="DEM">德国马克</option>
            <option value="NLG">荷兰盾</option>
            <option value="ITL">意大利里拉</option>
            <option value="CAD">加拿大元</option>
            <option value="AUD">澳大利亚元</option>
            <option value="ESP">西班牙比塞塔</option>
            <option value="THB">泰国铢</option>
          </select>
          <input name="F_RegCapital" id="regCapital" value="{substring(rows/row/F_RegCapital,5)}" size="8" maxlength="16" />
          万</div>
      </div>
      <div class="ColumnLine">
        <div class="ColumnNameLeft"><u><strong>公司注册地</strong></u>：</div>
        <div class="ColumnContent" style="width:35%;">
          <input name="F_RegCity" class="w250" id="F_RegCity" value="{rows/row/F_RegCity}" maxlength="16" />
          <span>(省份/城市) </span> </div>
        <div class="ColumnNameLeft" style="padding-left:50px;"><u><strong>经营地点</strong></u>：</div>
        <div class="ColumnContent">
          <input name="F_WorkAddr" class="w250" id="F_WorkAddr" value="{rows/row/F_WorkAddr}" maxlength="16" />
          <span>（工作地点） </span> </div>
      </div>
      <div class="ColumnLine">
        <div class="ColumnNameLeft"><u><strong>产品或服务</strong></u>：</div>
        <div class="ColumnContent" style="width:70%;">
          <input name="F_BizProcuts" type="text" class="input" id="F_BizProcuts" style="WIDTH: 70%" value="{rows/row/F_BizProcuts}" size="100" maxlength="100" >
          <xsl:attribute name="value"><xsl:value-of select="rows/row/F_Contact_Name"/></xsl:attribute>
          </input>
        </div>
      </div>
      <div class="ColumnLine">
        <div class="ColumnNameLeft"><u><strong>单位简介</strong></u>：</div>
        <div class="ColumnContent" style="width:35%;">
          <textarea name="F_BizIntro" style="width:650px;" id="F_BizIntro" class="input" rows="12" cols="110"><xsl:value-of select="rows/row/F_BizIntro"/></textarea>
        </div>
      </div>
      <div class="ColumnLine">
        <div class="ColumnNameLeft">&nbsp;</div>
        <div class="ColumnContent" style="width:35%;">
          <input class="input_btn_reg" type="button" value=" 修改 " name="submit2">
          <xsl:attribute name="onclick">if(saveContentCmd(this,form1,'企业会员列表')==1){listPt(cPage,'企业会员列表');xWin.closeWin('popEditContent');}</xsl:attribute>
          </input>
          &nbsp; &nbsp;
          <input class="input_btn_reg" type="button" value="取消" name="button" onclick="xWin.closeWin('popEditContent')"/>
          <input name="editID" type="hidden" id="editID">
          <xsl:attribute name="value"><xsl:value-of select="rows/row/ID"/>
          <xsl:if test="count(rows/row)=0">
            0
          </xsl:if>
          </xsl:attribute>
          </input>
          <input name="F_RegTime" type="hidden" id="F_RegTime">
          <xsl:attribute name="value"><xsl:value-of select="rows/row/F_RegTime"/>
          <xsl:if test="count(rows/row)=0">
            {now}
          </xsl:if>
          </xsl:attribute>
          </input>
        </div>
      </div>
    </form>
  </xsl:template>
</xsl:stylesheet>
